<style>
<!--
.row {
    height: 30px;
    line-height: 30px;
    vertical-align: top;
    width: 400px;
}
-->
</style>

<div class="form">
<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'changpassword-form',
	'enableAjaxValidation'=>true,
)); ?>

	<div class="row">
		<?php echo $form->labelEx($model,'oldpassword'); ?>
		<?php echo $form->passwordField($model,'oldpassword'); ?>
		<?php echo $form->error($model,'oldpassword'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'password'); ?>
		<?php echo $form->passwordField($model,'password'); ?>
		<?php echo $form->error($model,'password'); ?>
	</div>
	
	<div class="row">
		<?php echo $form->labelEx($model,'password1'); ?>
		<?php echo $form->passwordField($model,'password1'); ?>
		<?php echo $form->error($model,'password1'); ?>
	</div>
	
	<div class="row buttons">
		<?php echo CHtml::submitButton('确定'); ?>
	</div>

<?php $this->endWidget(); ?>
</div><!-- form -->
